{include file="public/head" /}
  
  <body>
    <div class="x-body">
        <form class="layui-form" method="post" action="#">
            <input type="hidden" value="{$info.id}" name="id"/>
            <div class="layui-form-item">
                <label for="space_display_status" class="layui-form-label">
                    <span class="x-red">*</span>车位是否显示:
                </label>
                <div class="layui-input-inline" style="width: 300px;">
                    <select name="space_display_status" id="space_display_status">
                        
						<option value="2" {if $info.space_display_status == "2"} selected="selected" {/if}>不开启</option>
                        <option value="1" {if $info.space_display_status == "1"} selected="selected" {/if}>开启</option>
                       
                    </select>
                </div>
            </div>
			<div class="layui-form-item">
                <label for="totalnum" class="layui-form-label">
                    <span class="x-red">*</span>总车位数
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="freenum" name="totalnum" readonly
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.totalnum}">
                </div>
            </div>
			<div class="layui-form-item">
                <label for="freenum" class="layui-form-label">
                    <span class="x-red">*</span>剩余车位数
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="freenum" name="freenum" required="" lay-verify="freenum"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.freenum}">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_repass" class="layui-form-label">
                </label>
                <button  class="layui-btn" lay-filter="add" lay-submit="">
                    配置
                </button>
            </div>
      </form>
    </div>
    <script>
        layui.use(['form','layer'], function(){
            $ = layui.jquery;
          var form = layui.form
          ,layer = layui.layer;
        
          //自定义验证规则

    </script>
    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();</script>
  </body>

</html>